package com.eco.fanliapp.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.SyTimePeriodGoods;
import com.eco.fanliapp.vo.SyTimePeriodGoodsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-09-09
 */
public interface SyTimePeriodGoodsMapper extends BaseMapper<SyTimePeriodGoods> {

    List<SyTimePeriodGoods> pageSyTimePeriodList(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize, @Param("tableId") Integer tableId);


    List<SyTimePeriodGoodsVo> selectLimitList(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize, @Param("tableId") Integer tableId, @Param("periodGoodsTime") String periodGoodsTime);

	Integer updateBatch(List<Long> lt);

    SyTimePeriodGoods findPeriodGoodsById(@Param("itemId") Long itemId);
}
